package com.example.nebulaspringboot.entity;

import javax.persistence.Entity;
import java.util.Date;

public class Role {

    private Integer id;

    private String name;

    private Integer level;

    private Integer updateUser;

    private Integer isDelete;

    private Date createTime;

    private Date updateTime;

    public Role() {
        super();
    }

    public Role(Integer id, String name, Integer level, Integer updateUser, Integer isDelete, Date createTime, Date updateTime) {
        this.id = id;
        this.name = name;
        this.level = level;
        this.updateUser = updateUser;
        this.isDelete = isDelete;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
